package com.qiang.test02;

public class MyThreadDemo {
    public static void main(String[] args) {
        MyThread mt1 = new MyThread("飞机");
        MyThread mt2 = new MyThread("坦克坦克");
       // mt1.setPriority(10);
        mt1.start();
        //mt2.setPriority(1);
        mt2.start();
        int p1 = mt1.getPriority();
        int p2 = mt2.getPriority();
        System.out.println(p1);
        System.out.println(p2);

    }
}
